package com.party.core.model.mall;

import com.party.core.model.BaseModel;

/**
 * @Author: Administrator.
 * @Description: 商城购物车
 * @Date:Created in 2017/8/29 0029 上午 11:44.
 */
public class MallShoppingCart extends BaseModel {
    private String memberId; // 用户
    private String productId; // 产品
    private Integer quantity; // 份数
    private Double price; // 价格
    private String goodsId; // 商品
    private String distributorId; // 分销者编号

    public MallShoppingCart() {
    }

    public MallShoppingCart(String memberId, String productId, String distributorId) {
        this.memberId = memberId;
        this.productId = productId;
        this.distributorId = distributorId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getDistributorId() {
        return distributorId;
    }

    public void setDistributorId(String distributorId) {
        this.distributorId = distributorId;
    }
}
